package com.rbac.admin.entity.system;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 数据字典-表级配置
 */
@Data
@TableName("sys_dict_table")
public class SysDictTable {

    @TableId
    private Long id;

    /** 表名 */
    @TableField("table_name")
    private String tableName;

    /** 表注释 */
    @TableField("table_comment")
    private String tableComment;

    /** 是否启用 */
    @TableField("enabled")
    private Integer enabled;

    /** 备注 */
    @TableField("remark")
    private String remark;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}


